package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.RestaurantStoreResourceMove;

import java.util.List;

/**
 * 食材数量变动明细记录Mapper接口
 * 
 * @author wlmes
 * @date 2023-11-24
 */
public interface RestaurantStoreResourceMoveMapper 
{
    /**
     * 查询食材数量变动明细记录
     * 
     * @param id 食材数量变动明细记录ID
     * @return 食材数量变动明细记录
     */
    public RestaurantStoreResourceMove selectRestaurantStoreResourceMoveById(Long id);

    /**
     * 查询食材数量变动明细记录列表
     * 
     * @param restaurantStoreResourceMove 食材数量变动明细记录
     * @return 食材数量变动明细记录集合
     */
    public List<RestaurantStoreResourceMove> selectRestaurantStoreResourceMoveList(RestaurantStoreResourceMove restaurantStoreResourceMove);

    /**
     * 新增食材数量变动明细记录
     * 
     * @param restaurantStoreResourceMove 食材数量变动明细记录
     * @return 结果
     */
    public int insertRestaurantStoreResourceMove(RestaurantStoreResourceMove restaurantStoreResourceMove);

    /**
     * 修改食材数量变动明细记录
     * 
     * @param restaurantStoreResourceMove 食材数量变动明细记录
     * @return 结果
     */
    public int updateRestaurantStoreResourceMove(RestaurantStoreResourceMove restaurantStoreResourceMove);

    /**
     * 删除食材数量变动明细记录
     * 
     * @param id 食材数量变动明细记录ID
     * @return 结果
     */
    public int deleteRestaurantStoreResourceMoveById(Long id);

    /**
     * 批量删除食材数量变动明细记录
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteRestaurantStoreResourceMoveByIds(Long[] ids);
}
